export default {
  case (value) {
    return {
      result: null,
      string(callback) {
        if (typeof value === 'string') {
          this.result = callback ? callback(value) : value
        }
        return this
      }
    }
  }
}
